package practicedemo74;

public class ClassStudy {
    private int band;
    private String color;
    private int age;
    public ClassStudy() {
    }

    public ClassStudy(int band, String color, int age) {
        this.band = band;
        this.color = color;
        this.age = age;
    }

    public int getBand() {
        return band;
    }

    public void setBand(int band) {
        this.band = band;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    class engine {
        String name;
        int age;

        public engine(int age, String name) {
            this.age = age;
            this.name = name;
        }

        public engine() {
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }
    }

}
